package com.bidcms.util;

import java.util.Date;

import common.utils.DateUtils;

public class MyDateUtil {

	public static String IntegerToDateString(Integer dateI){
		String dataInt = dateI.toString()+"000";
		Long longDate = Long.valueOf(dataInt);
		Date date = new Date(longDate);
		return DateUtils.getFormatCustomDateString(date, "yyyy-MM-dd HH:mm:ss");
	}
	public static void main(String[] args) {
		System.out.println(DateUtils.getFormatCustomDateString(new Date(), "yyyy-MM-dd HH:mm:ss"));
	}
}
